package com.action;

import java.util.List;

import com.man.UserCtrl;
import com.std.User;

public class AdminUserSelectAction {
	private int size;
	private List<User> userList;
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public List<User> getUserList() {
		return userList;
	}
	public void setUserList(List<User> userList) {
		this.userList = userList;
	}
	public String execute() {
		UserCtrl userCtrl=new UserCtrl();
		userList=userCtrl.getItems();
		size=userList.size();
		return "success";
	}
}
